//
//  BouncingBall.h
//  ProjectL
//
//  Created by Nguyen Tan Loc on 8/16/13.
//  Copyright (c) 2013 Nguyen Tan Loc. All rights reserved.
//

#import "CCPhysicsSprite.h"
#import "PhysicInterface.h"
#import "PhysicSystem.h"
#import "DynamicObjectInterface.h"
#import "PNode.h"

typedef enum
{
    eBOT_NONE = 0,
    eBT_ONESHOT,
    eBT_RANDOM,
    eBT_MATRIX,
} eBoss_Type;


@interface BouncingBall : CCPhysicsSprite <PhysicInterface, DynamicObjectInterface>
{
    float mVx;
    float mVy;
    float mTimeBomb;
    float mTimeBombCounting;
    CCSprite *mEye;
    CCSprite *mGlow;
    PNode *mUserNode;
    eBoss_Type mBossType;
}

@property (nonatomic, assign) float _Vx;
@property (nonatomic, assign) float _Vy;
@property (nonatomic, assign) PNode *_userNode;
@property (nonatomic, assign) eBoss_Type _bossType;
@property (nonatomic, assign) float _timeBomb;

-(CCSprite *) getEye;
-(CCSprite *) getGlow;

@end
